.layui-form {
    .layui-form-item {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;

        &.hidden {
            display: none;
        }

        &.nobottom {
            margin-bottom: 0px;
        }

        &.layui-inline {
            display: inline-flex;
        }

        &.layui-form-row {
            margin-bottom: 5px;

            &:last-child {
                margin-bottom: 0px;
            }
        }

        .layui-form-label {
            padding: 9px 10px;
            width: 90px;

            &.width-auto {
                width: auto;
            }
        }

        .layui-input-block {
            margin-left: 0px;
            flex: 1;

            &.layui-input-flex {
                display: flex;
                align-items: center;
                flex-direction: row;

                &>* {
                    margin-top: 0px;
                    margin-bottom: 0px;
                }
            }
        }

        .layui-input[readonly]:not(.layui-unselect) {
            color: #777;
        }
    }

    &.layui-form-flex {
        display: flex;
        align-items: center;
        flex-direction: row;

        &>.layui-input-flex {
            flex: 1;
        }
    }
}